﻿using Sgr.Domain.Entities;

namespace Sgr.DataCategories.Application.ViewModels
{
    public class OutAdministrativeDivisionViewModel
    {
        /// <summary>
        /// 行政区划ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 行政区划名称
        /// </summary>
        public string Name { get; set; } = string.Empty;

        /// <summary>
        /// 行政区划代码
        /// </summary>
        public string Code { get; set; } = string.Empty;

        /// <summary>
        /// 上级行政区划ID
        /// </summary>
        public long? ParentId { get; set; }

        /// <summary>
        /// 行政区划简称
        /// </summary>
        public string? ShortName { get; set; }

        /// <summary>
        /// 行政区划描述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        /// <remarks>Normal-启用，Deactivate-禁用</remarks>
        public EntityStates State { get; set; } = EntityStates.Normal;

        /// <summary>
        /// 排序号
        /// </summary>
        public int OrderNumber { get; set; } = 0;
    }
}